<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <label for="input">输入框: </label>
        <input id="input" class="name" :value="name" @input="change"></input>
        <div>输入结果: {{input}}</div>
    </div>
</body>
<script src="./bundleJS/compilerTest.js"></script>
<script>
    /**
     * 测试模板编译结果
     */
    const { compile } = simpleMVVM;
    let node = document.querySelector('#app');
    console.log(compile(node));
</script>
</html>